<table class="table table-hover table-striped">
    <tbody>

    <tr>
        <th>商品名称</th>
        <th>商品单价</th>
        <th>数量</th>
        <th>优惠金额</th>
        <th>总价</th>
        <th>折扣</th>
        <th>参数</th>
        <th>SKU</th>
    </tr>
    @foreach($order->items as $item)
        {{--@if(in_array($item->supplier_id, session('admin_supplier_id')) ||  !$isSupplier)--}}
            <tr>
                <td>
                    <img width="50" height="50" src="{{$item->item_info['image']}}" alt="">&nbsp;&nbsp;&nbsp;&nbsp;
                    {{$item->item_name}}
                </td>
                <td>{{$item->unit_price/100}}元</td>
                <td>{{$item->quantity}}</td>
                <td>{{$item->adjustments_total/100}}元</td>
                <td>{{$item->total/100}}元</td>
                <td>{{(number_format($item->total/($item->unit_price*$item->quantity),4, ".", ""))*100}}%</td>

                <td>{{!empty($item->item_meta['specs_text'])?$item->item_meta['specs_text']:''}}</td>
                <td>
                    {{$item->getModel() ? $item->getModel()->sku : ''}}
                </td>

            </tr>
        {{--@endif--}}
    @endforeach

    </tbody>
</table>